<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Raster</title>
    <link rel="stylesheet" href="../css/style.css">
    <!-- IE 9: display inline SVG -->
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <script type="text/javascript" src="../../dist/paper-full.js"></script>
    <script type="text/paperscript" canvas="canvas">
        var raster = new Raster('lenna');
        raster.position = view.center;
        raster.rotate(45);
        document.body.appendChild(project.exportSVG());
    </script>
</head>
<body>
    <canvas id="canvas" width="512" height="512"></canvas>
    <img width="512" height="512" id="lenna" style="display: none;" src="" />
</body>
</html>
